/*
 * TWIMaster.c
 *
 * Created: 3/17/2012 1:42:58 PM
 *  Author: Unithra.C
 */ 

/* prototypes */

void TWI_init_master(void);
void TWI_start(void);
void TWI_repeated_start(void);
void TWI_write_address(unsigned char data);
void TWI_read_address(unsigned char data);
void TWI_write_data(unsigned char data);
void TWI_stop(void);
void TWI_Reset(void);

void TWI_write_address_SUB(unsigned char data);